package com.example.expandablelistview.dialog;

import android.app.Activity;
import android.app.AlertDialog;
import android.os.Bundle;
import android.view.View;

import com.example.expandablelistview.R;

public class AlertDialogCancelable extends Activity {
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.dialogex);
	}

	public void mOnClick(View v) {
		new AlertDialog.Builder(this).setTitle("공지 사항")
				.setMessage("이 메시지는 반드시 읽어야 합니다.")
				.setIcon(R.drawable.ic_launcher)
				.setCancelable(false)
				.setNeutralButton("닫기", null)
				.show();
	}
}
